import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
// 导入store文件
import store from './store'
// 导入路由
import router from './router'
// 导入rem适配
import './utils/rem'
// 引入element-plus图标
import * as ElementPlusIconsVue from '@element-plus/icons-vue'


const app = createApp(App)

// 启用字体图标
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
  }

// 启用store
app.use(store)
// 使用路由
app.use(router)
app.mount('#app')
